package com.example.studentcompetitionplatform.mapper;

import com.example.studentcompetitionplatform.entity.Competitions;
import com.example.studentcompetitionplatform.entity.Registrations;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GeRenXinXiMapper {
//取消
    Integer deleteRG(Registrations registrations);
//分页数据
    //查询username的数据的总条数
    Integer findUserTotal(Integer UserId);

    //
    List<Registrations> selectPage(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize, @Param("registrationId") Integer registrationId,@Param("userId") Integer userId);


}
